import Vue from 'vue'
import App from './App.vue'
import router from './router'
import axios from "axios";
import store from './store'
import * as echarts from 'echarts'
import "../public/static/theme/chalk.js"
import "../public/static/theme/vintage.js"
import SocketService from "./utils/socket_service";
SocketService.Instance.connect()
Vue.prototype.$socket=SocketService.Instance
const instance=axios.create({
  baseURL:'http://42.192.180.235:8888/api',
  timeout:5000
})
Vue.prototype.$http=instance
Vue.prototype.$echarts =echarts
Vue.config.productionTip = false
new Vue({
  router,
  store,
  render: function (h) { return h(App) }
}).$mount('#app')
